﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Data;
using System.Data;
using System.Data.Common;

namespace MINERP.DAL.InfoConfig
{
    public  class Shop_New_DAL
    {
       
        public static DataTable GetAllProductForSetPrice(int inShopID)
        {
            Database db = DatabaseFactory.CreateDatabase();
            DbCommand dbCommand = db.GetStoredProcCommand("Procedure_GetAllProductForSetPrice");
            db.AddInParameter(dbCommand, "@shopId", DbType.Int32, inShopID);
            return db.ExecuteDataSet(dbCommand).Tables[0];
        }
    }
}
